﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Roles
{
    public static class Untils
    {
        public static bool HasPermisstion(TypeaAudit audit, int permisstion)
        {
            if (((int)audit & permisstion) == (int)audit)
                return true;
            return false;
        }
    }
}
